-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: User Selectable GPUs and GPU-based Model Recommendations #1730
Conversation
d02c1dc
to
22a24d2
Compare
574b157
to
0bb5315
Compare
hi @hiento09, from the screenshot, looks like we are missing the separation line between the GPU and Experimental option, can you double check? On the other hand, I would recommend shortening the warning message if possible 🤔 e.g. Enabling abc, xyz..., may .... Many thanks |
I included the design in this ticket for this implementation: DesignWhen users have compatible GPU(s)
When click on choosing GPU, there are 2 cases:
When users select more than 1 GPU
When users turn off GPU acceleration although they have compatible GPUShow warning icon -> when hover, users see tooltip suggestion that users should turn it on: When users don't have any compatible GPU
|
fce3fe7
to
27a703e
Compare
27a703e
to
1eac907
Compare
1eac907
to
b4dc2ce
Compare
Changes
Reason for changes
Fixes Issues
Images
By default, the most powerful GPU will be selected if the user enables GPU mode for the first time. After that, the system will not intervene, allowing the user to choose the GPU they want to use. The next time the app is launched, it will load the GPU according to the user's configuration.
When GPU mode is enabled, a model must certainly be selected. The user will not be able to deselect all GPUs
When the user chooses to use more than one GPU, a warning will be displayed to remind the user about multi-GPUs mode.
The bottom bar monitoring GPU resources will also display the corresponding selected GPUs.
The current Hub will also display suggested models depending on whether it's in RAM mode or GPU mode. For GPU mode, it will base its suggestions on the total VRAM of the selected GPUs
This is a suggestion if I enable all three GPUs. Notice the bottom bar below is enabling three GPUs, so I can load a heavy model up to 18GB as suggested here.
And here, when I try to disable one GPU, you will see that the Hub will recommend differently.
Example settings.json file